xen/compiler: fix MISRA C 2012 Rule 20.7 violation
authorXenia Ragiadakou <burzalodowa@gmail.com>
Fri, 5 Aug 2022 06:37:13 +0000 (08:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Aug 2022 06:37:13 +0000 (08:37 +0200)
commit7177b2c3265a18722cd4a89542a28815f7b13622
tree0f78e791abca12c872dc661119473f1ff3e10dae
parente2bd45f4ca498c877a0bac8457832b02db676ae5
xen/compiler: fix MISRA C 2012 Rule 20.7 violation

In __must_be_array(), the macro parameter 'a' is used as expression and
therefore it is good to be enclosed in parentheses to prevent against
unintended expansions.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/compiler.h